<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8" />
  <meta http-equiv="X-UA-Compatible" content="IE=edge" />
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  <title>登录</title>
  <link href="/css/bootstrap.css" rel="stylesheet" />
</head>

<body>
  <div class="container">
    <div class="row">
      <div class="col-xs-12 col-md-8 col-md-offset-2 col-lg-4 col-lg-offset-4">
        <h2>登录</h2>
        <hr />
        <form action="/users/login" method="post">
          <div class="form-group">
            <label for="item">用户名</label>
            <input type="text" class="form-control" id="item" name="username"/>
          </div>
          <div class="form-group">
            <label for="time">密码</label>
            <input type="password" class="form-control" id="time" name="password"/>
          </div>
          <hr>
          <button type="submit" class="btn btn-primary btn-block">登录</button>
          <p>还没有账号？请<a href="/users/register">注册</a></p>
        </form>
      </div>
    </div>
  </div>
</body>

</html>